package org.springside.examples.showcase.wb.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springside.examples.showcase.wb.entity.WbSite;

public interface WbSiteJpaDao extends PagingAndSortingRepository<WbSite, Integer> {
	@Query("from WbSite wbsite Where wbsite.ir_screen_name=?1")
	public List<WbSite> findByScreenName(String screenName);

}
